﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Background</title>
        <style>
            @page {
                background: url("img/denker.png");
                @frame text {
                    top: 6cm;
                    left: 4cm;
                    right: 4cm;
                    bottom: 4cm;
                    -pdf-frame-border: 1;
                }
            }

            @page p2 {
                background: url("img/beach.jpg");
                @frame text {
                    top: 6cm;
                    left: 4cm;
                    right: 4cm;
                    bottom: 4cm;
                    -pdf-frame-border: 1;
                }
            }

            @page p3 {
                background-image: url("pdf/background-sample.pdf");
                @frame text {
                    top: 6cm;
                    left: 4cm;
                    right: 4cm;
                    bottom: 4cm;
                    -pdf-frame-border: 1;
                }
            }

            @page p4 {
                background-image: url("img/beach.jpg");
                size: a4 landscape;
                @frame text {
                    top: 6cm;
                    left: 4cm;
                    right: 4cm;
                    bottom: 4cm;
                    -pdf-frame-border: 1;
                }
            }

        </style>
    </head>
    <body>

        <p>
        Hello <strong>World</strong>
        <p>

        <pdf:nextpage name="p2" />

        <p>
        Hello <strong>World</strong>
        <p>

        <pdf:nextpage name="p3" />

        <p>
        Hello <strong>World</strong>
        <p>

        <pdf:nextpage name="p4" />

        <p>
        Hello <strong>World</strong>
        <p>

    </body>
</html>
